import request from '@/utils/request'
import axios from 'axios'
import qs from 'qs' 

export function MenuButtonDelet(data) {
    return request({
        url: 'Basic/MenuButtonDelet',
        method: 'post',
        data: data
    })
}

export function MenuButtonUpdate(data) {
    return request({
        url: 'Basic/MenuButtonUpdate',
        method: 'post',
        data: data
    })
}

export function MenuUpdate(data) {
    return request({
        url: 'Basic/MenuUpdate',
        method: 'post',
        data: data
    })
}

export function FieldDataUpdate(data) {
    return request({
        url: 'PageSet/FieldDataUpdate',
        method: 'post',
        data: data
    })
}

export function PageAutoDeletRow(data) {
    return request({
        url: 'PageSet/PageAutoDeletRow',
        method: 'post',
        data: data
    })
}

export function GetDictDetail(data) {
    return request({
        url: 'PageSet/GetDictDetail',
        method: 'post',
        data: data
    })
}

export function DeleteRow(data) {
    return request({
        url: 'PageSet/PageAutoDeletRow',
        method: 'post',
        data: data
    })
}

export function UpdateForm(data) {
    return request({
        url: 'PageSet/PageAutoUpdate',
        method: 'post',
        data: data
    })
}

export function getDataListCe(data) {
    return request({
        url: 'PageSet/GetDataList',
        method: 'post',
        data: data
    })
}
// 分割线

export function getDataList(data) {
    return request({
        url: '/Basic/GetDataList',
        method: 'post',
        data: data
    })
}

export function updateOrganizeData(data) {
    return request({
        url: '/Basic/UpdateOrganizeData',
        method: 'post',
        data: data
    })
}

export function deletOrganizeData(data) {
    return request({
        url: '/Basic/DeletOrganizeData',
        method: 'post',
        data: data
    })
}

export function getAccountData(data) {
    return request({
        url: '/Basic/GetAccountData',
        method: 'post',
        data: data
    })
}

export function updateOrganizetionData(data) {
    return request({
        url: '/Basic/UpdateOrganizetionData',
        method: 'post',
        data: data
    })
}

export function deletOrganizetionData(data) {
    return request({
        url: '/Basic/DeletOrganizetionData',
        method: 'post',
        data: data
    })
}

export function updateDepTree(data) {
    return request({
        url: '/Basic/UpdateDepTree',
        method: 'post',
        data: data
    })
}

export function updateOtherCostData(data) {
    return request({
        url: '/Basic/UpdateOtherCostData',
        method: 'post',
        data: data
    })
}

export function deleteOtherCostData(data) {
    return request({
        url: '/Basic/DeleteOtherCostData',
        method: 'post',
        data: data
    })
}

export function updatetempleteForm(data) {
    return request({
        url: '/Basic/Updatetemplete',
        method: 'post',
        data: data
    })
}

export function DelettempleteForm(data) {
    return request({
        url: '/Basic/Delettemplete',
        method: 'post',
        data: data
    })

}

export function getAttDataList(data) {
    return request({
        url: '/Basic/GetAttDataList',
        method: 'post',
        data: data
    })

}

export function updateSysRoleData(data) {
    return request({
        url: '/Basic/UpdateSysRoleData',
        method: 'post',
        data: data
    })

}

export function deleteSysRoleData(data) {
    return request({
        url: '/Basic/DeleteSysRoleData',
        method: 'post',
        data: data
    })

}

export function updateUserRoleMapData(data) {
    return request({
        url: '/Basic/UpdateUserRoleMapData',
        method: 'post',
        data: data
    })

}

export function deleteUserRoleMapData(data) {
    return request({
        url: '/Basic/DeleteUserRoleMapData',
        method: 'post',
        data: data
    })

}

export function updateRoleRightMapData(data) {
    return request({
        url: '/Basic/UpdateRoleRightMapData',
        method: 'post',
        data: data
    })

}